home *** CD-ROM | disk | FTP | other *** search
- Simple Line Printer Daemon
-
- ©1994 by Juergen Schubert
-
-
- 0. Disclaimer
-
- This software is provided under the GNU General public license with
- all its rights and restrictions.
-
-
- I. Warning
-
- This version doesn't implement any security features. If you need a safe
- system, don't use this software or modify it for your needs. It works fine
- for me and if there is enough feedback I will implement additional features
- like real printer support etc. Maybe a LPR command is following soon.
-
- It is possible to destroy software installed on your computer with a
- simple lpr-command, so be careful!
-
-
-
- II. Prerequisites
-
- You will need at least AmiTCP 3.0 beta 2 installed on your computer.
-
-
- III. Installation
-
- Copy the LPD proram to your AMITCP:serv directory,
- edit your amitcp:db/inetd.conf and add the following entry:
-
- printer stream tcp nowait root amitcp:serv/lpd
-
- If you want to be informed about every access to the lpd with target,
- accessing host and number of transferred bytes, your entry will look like
-
- printer stream tcp nowait root amitcp:serv/lpd lpd -log
-
- That's it, at the next inetd startup you can use your AMIGA as a
- printserver.
-
-
- IV. Using lpd
-
- The lpd recongnizes some sort of printers:
- If you choose the lpr-printer the output will be written directly to par:
-
- If you choose any other printer name it will be interpreted as a complete
- device/filename where the printed files will be written to. Multiple
- output to the same file will cause an append of data, e.g.
-
- Command on the remote host
-
- lpr -P lpr ... -> Default printer will go to PAR:
-
- lpr -P PRT: ... -> Data will be printed to PRT:
-
- lpr -P ram:out ... -> Data will be written to the file ram:out. If it exists
- data will be appended.
-
-
- !DANGEROUS!
- lpr -P s:startup-sequence -> Data will be appended to your startup-sequence.
-
-
-
- V. Reaching the author
-
- You can reach me under Juergen Schubert <schubert@rz-sun2.fh-weingarten.de>
- maybe in the near future at <juergen@desert.sub.org>
- FIDO 2:246/2320.42
-
-
-
- VI. Recompiling
-
- It compiles fine with SAS/C 6.51 and the AmiTCP-api-3.0b2 package.
- An SCOPTIONS file is provided, you simply enter "sc lpd.c" to generate a
- new LPD.
- Please let me know any big improvements/new implemented features maintain
- a complete version.
-
-
-
- VII. Future
-
- Well, because it was quite easy to implement a LPD with AmiTCP I may write
- some additional missing commands. Feel free to send me your request.
-
-
-
- VII. Acknowledgements
-
- I want to say "Thank you!" to the AmiTCP-team for providing this great
- protocol stack. If you want to include an enhanced LPD to your distribution,
- feel free to contact me.
-
-